package cn.momoshenchi.ware.service;

import cn.momoshenchi.ware.entity.PurchaseDetailEntity;
import cn.momoshenchi.ware.vo.SkuHasStockVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.momoshenchi.common.utils.PageUtils;
import cn.momoshenchi.ware.entity.WareSkuEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author ${author}
 * @email ${email}
 * @date 2021-04-24 23:26:12
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addStock(PurchaseDetailEntity purchaseDetailEntity);

    List<SkuHasStockVo> hasStock(List<Long> skuIds);
}

